<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/1/30 0030
 * Time: 20:25
 */
session_start();
if(isset($_SESSION['name'])){
    echo $_SESSION['name'];//获取session

}else{
    echo 'no session';
}
